import 'package:OASys/entity/ReportVo.dart';
import 'package:OASys/httpConfig/DioManager.dart';
import 'package:OASys/httpConfig/ErrorEntity.dart';
import 'package:OASys/httpConfig/NWMethod.dart';

class ReportApi {
  void tree({Function(List<ReportVo>) success, Function(ErrorEntity) error}) {
    DioManager().requestList<ReportVo>(
      NWMethod.GET,
      "/front/menu/tree",
      success: success,
      error: error,
    );
  }
}
